package com.hermes.biz.service.user;

import com.hermes.biz.common.model.result.UserResultDO;
import com.hermes.biz.common.model.user.UserDO;

public interface UserService {

	
	/**
	 * 
	 * @param userId
	 * @return
	 */
	public UserResultDO getUserInfoByUserId(long userId);
	
	/**
	 * 
	 * @param userId
	 * @return
	 */
	public UserResultDO getUserInfoByUserName(String userName);
	
	/**
	 * 
	 * @param userDO
	 * @return 
	 */
	public boolean registerNewUserAccount(UserDO userDO);
	
	public String toTestString();
	
	public UserResultDO getUserInfoByOpenIdSina(String OpenId);
}
